package com.gobrs.async.core.engine;

import com.gobrs.async.core.config.RuleConfig;

import java.util.List;

/**
 * 规则热加载器接口
 */
public interface RuleThermal {

    /**
     * Load.
     *
     * @param rule the com.gobrs.async.rule
     */
    void load(RuleConfig rule);

    /**
     * Load.
     *
     * @param ruleList the com.gobrs.async.rule list
     */
    void load(List<RuleConfig> ruleList);

}
